package com.qianwang.shopmsg.service.course;

import java.util.List;

import com.qianwang.shopmsg.common.Page;
import com.qianwang.shopmsg.entity.Course;
import com.qianwang.shopmsg.exception.ParamValidateException;
import com.qianwang.shopmsg.param.CourseCreateParam;
import com.qianwang.shopmsg.param.CourseListParam;

public interface CourseMsgService {

	public int countCourse(CourseListParam listParam);

	public void addCourse(Course course);

	public List<Course> listCourseInfos(Page pg, CourseListParam listParam);

	public void saveCourse(CourseCreateParam courseParam) throws ParamValidateException;

	public void deleteCourse(long id) throws ParamValidateException;

	public Course loadCourseById(long id) throws ParamValidateException;

}
